package cn.jinhaze.enums;

/**
 * 课程枚举类
 */
public enum Course {

	MATH("数学", 0),

	CHINESE("语文", 0),

	ENGLISH("英语", 0),

	DANCE("民族舞蹈", 1),

	TAIJI("太极拳", 1),

	PANYAN("攀岩", 2),

	SANDA("散打", 2);

	/**
	 * 课程名称
	 */
	private final String name;

	/**
	 * 课程类型 0-文化课, 1-女生体育课, 2-女=男生体育课
	 */
	private final Integer type;

	private Course(String name, Integer type) {
		this.name = name;
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public Integer getType() {
		return type;
	}

	@Override
	public String toString() {
		return name;
	}
}